.fm-browser {
	position: relative;
	min-height: 400px;
	height: 100%;
}

.fm-tree-container {
	position:absolute;
	left: 0;
	top: 0;
	bottom: 4em;
	width: 25%;
	border-left: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
}

.fm-folder-container {
	position:absolute;
	right: 0;
	top: 0;
	bottom: 4em;
	width: 75%;
	border-left: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	border-right: 1px solid #ccc;
}

.fm-tree, .fm-folder {
	position: absolute;
	left: 0;
	bottom: 0;
	right: 0;
	top: 30px;
	overflow: auto;
}

/* toolbar */
.fm-toolbar {
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	height: 30px;
	background-color: #ccc;
}

.fm-icon {
	float: left;
	width: 16px;
	height: 16px;
	margin: 5px;
	border: 1px solid transparent;
	color: transparent;
	overflow: hidden;
	cursor: pointer;
}

.fm-icon-create {
	background: url("add.png") 0 0 no-repeat;
}

.fm-icon-rename {
	background: url("rename.png") 0 0 no-repeat;
}

.fm-icon-delete {
	background: url("delete.png") 0 0 no-repeat;
}

.fm-icon-upload {
	background: url("upload.png") 0 0 no-repeat;
}


/* files */

.fm-file {
	float: left;
	margin: 1em;
	padding: 1em;
	text-align: center;
	border-radius: 10px;
	box-shadow: 0 0 5px 1px #999;
	-moz-user-select: none;
	-webkit-user-select: none;
}

.fm-file-thumb {
	width: 128px;
	height: 128px;
	position: relative;
}

.fm-file-thumb img {
	position: absolute;
	margin: auto;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
}

.fm-file.selected {
	color: white;
	background-color: #369;
}

/* tree */

.fm-tree .os3tree .norm,
.fm-tree .os3tree .sel,
.fm-tree .os3tree .tree_hover,
.fm-tree .os3tree .tree_hover_sel,
.fm-tree .os3tree .btn_down,
.fm-tree .os3tree .btn_up {
	display: inline-block;
	font-size: 14px;
	font-weight: normal;
}

.fm-tree .os3tree .tree_hover_sel,
.fm-tree .os3tree .sel {
	cursor: pointer;
	background-color: transparent;
	color: red;
}
.fm-tree .os3tree .btn_down,
.fm-tree .os3tree .tree_hover {
	cursor: pointer;
	background-color: transparent;
	text-shadow: 0 0 3px yellow;
}
.fm-tree .os3tree .plus, 
.fm-tree .os3tree .minus, 
.fm-tree .os3tree .half, 
.fm-tree .os3tree .full, 
.fm-tree .os3tree .empty, 
.fm-tree .os3tree .wait, 
.fm-tree .os3tree .void, 
.fm-tree .os3tree .space {
	margin-top: 4px;
	margin-right: 4px;
}

/* dialog */ 
.fm-dialog-container, .fm-dialog {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
}
.fm-dialog-container {
	display: none;
	background-color: rgba(0,0,0,0.5);
}
.fm-dialog {
	width: 50%;
	height: 50%;
	min-width: 300px;
	min-height: 200px;
	overflow: auto;
	margin: auto;
	padding: 1em;
	background-color: white;
	box-shadow: 0 0 5px black;
}
.fm-dialog-container.visible {
	display: block;
}
.fm-dialog-close {
	position: absolute;
	right: 0;
	top: 0;
	width: 6em;
	height: 1em;
}

/* ADMIN */
#fm-admin {
	margin: 1em;
}

.fm-buttons {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 3.5em;
}

.fm-buttons .fm-confirm {
	position: absolute;
	right: 1em;
	
}

.fm-buttons .fm-cancel {
	position: absolute;
	left: 1em;
}
